* {
  margin: 0;
  padding: 0px;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*color: white;*/
}

body {
  background: #333;
}

::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}

:root {
  --accent: #226997;
  --main: #333;
  --light: #666;
  --lighter: #f3f3f3;
  --border: #e6e6e6;
  --bg: #ffffff;
  color: white;
}

.img-btn {
  font-size: 16px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  text-align: center;
}

.img-btn:hover {
  color: #009966;
  transition: 0.7s;
  transform: scale(1.5, 1.5);
  border: 1px solid #009966;

  /*animation-name: like-or-download;*/
  /*animation-duration: 1s;*/
  /*animation-timing-function: ease-in-out;*/
  /*animation-iteration-count: 1;*/
  box-shadow: 0px 1px 5px 5px white;
}

.img-btn:active {
  animation-name: like-or-download;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

@keyframes like-or-download {
  0% {}

  /*25% {*/
  /*  transform: rotate(90deg);*/
  /*}*/

  /*50% {*/
  /*  transform: rotate(180deg);*/
  /*}*/

  /*75% {*/
  /*  transform: rotate(270deg);*/
  /*}*/

  to {
    transform: rotate(360deg);
  }
}


/*图片*/
.a-container {
  float: left;
  display: inline-block;
  width: 50%;
  min-height: 100px;
  box-sizing: content-box;
}

.img-container {
  width: 100%;
  height: 0;
  padding-top: 56%;
  overflow: hidden;

  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  position: relative;
  box-shadow: inset 1px 1px 10px darkgrey;
}
.img-container:hover .img-info {
  transition: 0.5s;
  transform: translateY(0px);
  text-shadow:1px 1px 1px black;
  font-weight: normal;
  text-align: justify;
  color: white;
  /*box-shadow: inset 4px 4px 20px black;*/
  /*z-index: 20;*/
}
.img-info {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  padding: 6px;
  font-size: 14px;
  /*background-color: rgba(1,1,1,0.4);*/
  transform: translateY(-100px);
}
.action-bar {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  padding: 6px;
  text-align: right;
  padding-right: 20px;
}
.action-bar span {
  padding: 8px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 20px;
  display: inline-block;
  /*border: 1px solid #E4E4E4;*/
}
